package com.michaelbulava.TFS.tpignore;

import java.util.regex.Pattern;

/**
 * Created by mbulava on 6/22/2015.
 */
final class TPIgnoreCacheEntry {

    private final long loadedFromDiskTime;
    private final Pattern[] patterns;

    public TPIgnoreCacheEntry(long loadedFromDiskTime, Pattern[] patterns){
        this.loadedFromDiskTime = loadedFromDiskTime;
        this.patterns = patterns;
    }

    public long getLoadedFromDiskTime(){
        return this.loadedFromDiskTime;
    }

    public Pattern[] getPatterns(){
        return this.patterns;
    }
}
